//
//  BackButton.m
//  WE
//
//  Created by apple on 15/11/20.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "BackButton.h"

@implementation BackButton

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
        button.frame = frame;
        [button setImage:[UIImage imageNamed:@"back"] forState:UIControlStateNormal];
        
        
        
        
        self = (BackButton*)button;
                
    }
    
    
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
